<ul class="nav nav-tabs">
    <li <?if ($this->currentAction == Application_Model_Task::CURRENT):?>class="active"<? endif;?>><a href="/idea?type=<?= Application_Model_Task::CURRENT ?>">Текущие</a></li>
    <li <?if ($this->currentAction == Application_Model_Task::ON_YEAR):?>class="active"<? endif;?>><a href="/idea?type=<?= Application_Model_Task::ON_YEAR ?>">На год</a></li>
    <li <?if ($this->currentAction == 'calendar'):?>class="active"<? endif;?>><a href="/calendar">Календарь</a></li>
</ul>
<? if($this->currentAction != 'calendar'):?>
    <button type="button" class="btn btn-success" onclick="idea.addTask(<?= $this->currentAction ?>);">Добавить
        <i class="icon-plus-sign"></i>
    </button>
<? endif;?>